import {request} from "../utils/request"

//在apis获取封装
export function listNav(){
  return request({
    url:"/nav/get",
    method:"POSt"
  })
}

export function queryNews(data){
  return request({
    url:"/news/get",
    method:"post",
    data:data
  })
}
//获取新闻详情
export function queryNewsDetile(data){
  return request({
    url:"/news/detail",
    method:"post",
    data:data
  })
}
//获取产品列表
export function queryProduct(data){
  return request({
    url:"/product/getlist",
    method:"post",
    data:data
  })
}
//获取产品详情
export function queryProductDetail(data){
  return request({
    url:"/product/detail",
    method:"POST",
    data
  })
}